In [2]:
from smpdflib.core import *
Load a PDF and an APPLgrid
In [3]:
pdf = PDF("NNPDF30_nlo_as_0118")
In [8]:
obs = make_observable("data/higgs/ggh_13tev.root", order='NLO')
Convolve
In [12]:
r = produce_results([pdf], [obs])
Out[12]:
In [20]:
r.central_value
Out[20]:
In [21]:
r.std_error()
Out[21]:
All results
In [22]:
r._data
Out[22]:
In [24]:
r.errorbar68
Out[24]:
In [42]:
import shelve
In [43]:
db = shelve.open('db/db')
In [ ]:
r1 = produce_results(pdf, obs, db=db)
Not computed again
In [ ]:
r2 = produce_results(pdf, obs, db=db)